﻿using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCompanyName.AbpZeroTemplate.Account
{
    public class Account : Entity, IHasCreationTime
    {
        public const int MaxTitleLength = 256;
        public const int MaxDescriptionLength = 64 * 1024;//64kb

        /// <summary>
        /// 客户编号
        /// </summary>
        public string crm_accountnumber { get; set; }
        /// <summary>
        /// 审批状态
        /// </summary>
        public string crm_approvestatus { get; set; }


        /// <summary>
        /// 客户名称
        /// </summary>
        public string crm_name { get; set; }
        /// <summary>
        /// 客户简称
        /// </summary>
        public string crm_shortname { get; set; }
        /// <summary>
        /// MDM代码
        /// </summary>
        public string crm_mdmcode { get; set; }

        /// <summary>
        /// 客户电话
        /// </summary>
        public string crm_telephone { get; set; }
        /// <summary>
        /// 客户邮箱
        /// </summary>
        public string crm_emailaddress { get; set; }
        /// <summary>
        /// 省份
        /// </summary>
        public string crm_province { get; set; }
        /// <summary>
        /// 城市
        /// </summary>
        public string crm_city { get; set; }
        /// <summary>
        /// 区县
        /// </summary>
        public string crm_district { get; set; }
        /// <summary>
        /// 详细地址
        /// </summary>
        public string crm_address { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreationTime { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreatedId { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime UpdateTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string UpdatedId { get; set; }

    }
}
